package cn.zjweu.domain;

import java.math.BigDecimal;

/*
 * 菜品表
 * */
public class Dish {
    /*菜品ID*/
    private Integer dishId;
    /*菜品名称*/
    private String dishName;
    /*菜品价格*/
    private BigDecimal dishPrice;
    /*菜品类别*/
    private Integer categoryId;
    /*做法描述*/
    private String cooking;
    /*主要材料*/
    private String material;
    /*菜品描述*/
    private String description;
    /*图片路径*/
    private String imagesRoute;
    /*用户购物车菜品数量*/
    private Integer count;
    /**/
    private boolean status;

    private DishCategory dishCategory;

    public Dish() {
    }


    @Override
    public String toString() {
        return "Dish{" +
                "dishId=" + dishId +
                ", dishName='" + dishName + '\'' +
                ", dishPrice=" + dishPrice +
                ", categoryId=" + categoryId +
                ", cooking='" + cooking + '\'' +
                ", material='" + material + '\'' +
                ", description='" + description + '\'' +
                ", imagesRoute='" + imagesRoute + '\'' +
                ", count=" + count +
                ", status=" + status +
                '}';
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getDishId() {
        return dishId;
    }

    public void setDishId(Integer dishId) {
        this.dishId = dishId;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public BigDecimal getDishPrice() {
        return dishPrice;
    }

    public void setDishPrice(BigDecimal dishPrice) {
        this.dishPrice = dishPrice;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getCooking() {
        return cooking;
    }

    public void setCooking(String cooking) {
        this.cooking = cooking;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getImagesRoute() {
        return imagesRoute;
    }

    public void setImagesRoute(String imagesRoute) {
        this.imagesRoute = imagesRoute;
    }

    public DishCategory getDishCategory() {
        return dishCategory;
    }

    public void setDishCategory(DishCategory dishCategory) {
        this.dishCategory = dishCategory;
    }
}
